package com.sc.passbook.vo;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author sc
 * Created on  2018/9/1
 */
@Data
@AllArgsConstructor
public class User {
    private Long id;

    private BaseInfo baseInfo;

    private OtherInfo otherInfo;
    @Data
    @AllArgsConstructor
    public static class BaseInfo{
        private String name;
        private Integer age;
        private String gender;
    }

    @Data
    @AllArgsConstructor
    public static class OtherInfo{
        private String phone;
        private String addres;
    }


}
